-- for variable = from_exp , to_exp [, step_exp] do block end
for i = 1,3 do print(i) end     -- count from 1 to 3
for i = 3,1,-1 do print(i) end  -- count down from 3 to 1
--[[ 
3
2
1
]]
for i=1,0,-0.25 do print(i) end -- we're not limited to integers
--[[  
1 
0.75
0.5
0.25
0
]]

-- for var {, var} in explist do block end
mTable = {x = 1, y = 2}
mTable.__index = mTable
for k,v in pairs(mTable) do
  print(k, "=>" , v)
end
--[[
y	=>	2
x	=>	1
__index	=>	table: 0x003c1ca0
]]